home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: NT not written with MFC
- Date: 14 Jan 1996 11:27:02 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4dapa6$4ef@news1.usa.pipeline.com>
- References: <30F76398.3A44@spider.compart.fi>
- NNTP-Posting-Host: pipe8.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Jan 13, 1996 09:47:36 in article <Re: NT not written with MFC>, 'Anders
- Lindh <anders@spider.compart.fi>' wrote:
-
- Previous poster:
- >> 1. The CDC class for device contexts was done very well and I find it
- >> hard to believe that this was NOT used in writing the GUI for NT or
- >> Windows 95. Did they not use it because they wanted to optimize it?
- >
- Anders:
- >Uh, Microsoft has used MFC in some the applications that ship with Win95
- >(e.g WordPad). A haven't botherd to look at MFC too much, but isn't MFC
- >just a (easy to use and portable) wrapper around the Win(32) API ? I
- >don't understand how they could have written the GUI with it, plain C++
- >with assembly language gives much better performance.
- >
- Yes, MFC is a wrapper around Windows API; but many of those classes
- do a lot of work for you and save time in development. It's also
- true that MFC invokes the execution of a lot of code to cover the
- unusual rare cases and represents extra baggage for 99% of its
- users.
-
- My observation is that MS isn't that concerned about performance
- when it comes to end-user products. I, therefore, can accept that
- MFC was used for product development. However, it is also very
- easy to bypass MFC's code in time-critical apps and program
- directly to the API -- I do it all the time. I suspect that the final
- product is a combination of MFC and direct API code.
-
- My reason for going 'behind' MFC is typically not speed, but to
- attain behavior different from what MFC designers gave us.
- (Sometimes it's just a case of not knowing how to accomplish the
- task the MFC way and I take the easy way out. I'm quite
- comfortable with the windows API :-))
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-